package com.sc.nft.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ApplePayRequest {

    @ApiModelProperty("订单Id")
    @NotNull(message = "订单Id不能为空")
    private Long orderId;

    @ApiModelProperty("支付信息")
    @NotBlank(message = "支付信息")
    private String receiptData;

    @ApiModelProperty("是否是沙箱环境 :true 是 flase否")
    @NotBlank(message = "是否是沙箱环境不能为空")
    private String isSandBox;
}
